package JavaSEAdvance.day02_interface.d024_homework;

/**
 * @author Xiao
 * @date 2021/7/16
 */
public class Dog extends Animal implements SwimmingInter {
    /**
     * 3.定义狗类:
     * 		行为:
     * 			吃饭(啃骨头)和 游泳(狗刨)
     */
    @Override
    public void eat() {
        System.out.println("狗啃骨头");
    }

    @Override
    public void swimming() {
        System.out.println("狗会狗刨游泳");
    }
}
